import {baseUrl} from '@/config/index.js' 
const Request = (Url, Type, Parmas={}) => {
	uni.request({
		url: `${baseUrl}/${Url}`,
		method: Type,
		data: Parmas,
		success: res => {
			return res
		},
		fail: () => {
			alert('请求超时')
			return
		},
		complete: () => {}
	});
}

export {Request}